﻿<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Welcome admin.aspx.vb" Inherits="_Default" title="MoBiLe-Admin Home" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">


        .style1
        {
            font-size: large;
            color: #0066FF;
        }
        .style2
        {
            width: 182px;
            height: 18px;
        }
        .style3
        {
            height: 18px;
            width: 129px;
        }
        .style4
        {
            height: 10px;
            width: 182px;
            text-align: right;
        }
        .style5
        {
            height: 9px;
            width: 182px;
        }
        .style6
        {
            height: 9px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <center>
    <p>
        <span class="style1">
        <asp:Label ID="Label1" runat="server" Text="Welcome "></asp:Label>
        <asp:Label ID="Label2" runat="server" Text="Username"></asp:Label>
        </br>
        <asp:Label ID="Label10" runat="server" style="color: #000000; font-size: small" 
            Text="Label"></asp:Label>
        </span></p>
        <p>
   <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1" >
            <headertemplate >
            <table cellpadding=3>
                <tr>
                         <td><b>CATEGORY</b></td>
                </tr>
                </table>
            </headertemplate>
              <itemtemplate>     
            <table cellpadding=4>
                       
                <tr>
                   <td><a href= "Category page.aspx?id=<%# Eval("categoryid")%>"> 
                   <%#Eval("name")%> 
                </a> </td>
                
                </tr>
                </table>
                
            </itemtemplate>
           
        </asp:Repeater>
      <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True" 
            ProviderName="System.Data.SqlClient" 
            SelectCommand="SELECT [categoryid], [name] FROM [category]">
        </asp:SqlDataSource>
        </p>
    </center>
    
         <table width="90%"  border="0">
            <tr>
            <td align="center" colspan=2>
            <center>
                <asp:Label ID="Label8" runat="server" Text="Total Pictures :"></asp:Label>
                &nbsp;<asp:Label ID="Label9" runat="server" Text=""></asp:Label>
            </center>
            </td>
           
        </tr> 
       
       
        <tr>
            <td align="right" class="style2" >
                Delete Users :</td>
            <td align="left" class="style3">
                <asp:LinkButton ID="LinkButton6" runat="server">Click Here</asp:LinkButton>
            </td>
        </tr>

        
        <tr>
            <td class="style4">
                Delete Images :
            </td>
            <td style="height:10px">
                <asp:LinkButton ID="LinkButton7" runat="server">Click Here</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td style="text-align: right;"style4" class="style5" >
                Delete Comments :</td>
                 <td style="text-align: left;" class="style6" >
                <asp:LinkButton ID="LinkButton8" runat="server">Click Here</asp:LinkButton>
            </td>
                
            
        </tr>
        <tr>
            <td style="text-align: right;"style4" class="style5" >
                Add Category :</td>
                 <td style="text-align: left;" class="style6" >
                <asp:LinkButton ID="LinkButton1" runat="server">Click Here</asp:LinkButton>
            </td>
                
            
        </tr>
        <tr>
            <td colspan="2" align ="center">
            <table>
                <tr>
                    <td style="width:15%" align="right">
                        &nbsp;</td>
                    <td style="width:15%" align="left">
                        &nbsp;</td>
                </tr>
            </table>
            </td>
        </tr>
    </table>
        
        
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>

